package cn.com.template.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 异常处理控制器
 * 
 * @author Microbun 2012-2-12下午9:54:32
 * @version $Id: ExceptionCottorller.java 2 2012-02-14 07:31:38Z microbun $
 * @since 1.0
 */
@Controller
public class ExceptionCottorller {

	@RequestMapping("/404")
	public ModelAndView noPage(HttpServletRequest request,
			HttpServletResponse response) {
		ModelAndView mav = new ModelAndView("404");
		return mav;
	}
}